xen/arm: setup: Call unregister_init_virtual_region() after the last init function
authorJulien Grall <jgrall@amazon.com>
Thu, 19 Nov 2020 19:07:48 +0000 (19:07 +0000)
committerJulien Grall <jgrall@amazon.com>
Sat, 23 Jan 2021 11:42:03 +0000 (11:42 +0000)
commitcf6dbed22ac3c917fd5457014c66840addf2bf0f
tree21b5a0e57b045b594006c010f2cdb747ff93e687
parentbfe67a17d4df2efbedaaf5cfbadc8a8627debf5c
xen/arm: setup: Call unregister_init_virtual_region() after the last init function

discard_init_modules() is an init function, if the path contains a
BUG() or WARN() we still want to get the full stack trace.

The init virtual region is now kept after the last init function has
been called.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
xen/arch/arm/setup.c